package com.gugee.ins.common.model.mysql.media;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName(value = "ins_rel_media_children")
@Data
public class InsRelMediaChildren {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 子帖子id
     */
    private String mid;

    /**
     * 父帖子shortcode
     */
    @TableField(value = "parent_shortcode")
    private String parentShortcode;

    /**
     * 封面地址
     */
    @TableField(value = "display_url")
    private String displayUrl;

    /**
     * 是否视频
     */
    @TableField(value = "is_video")
    private Boolean isVideo;

    /**
     * 视频地址
     */
    @TableField(value = "video_url")
    private String videoUrl;

    /**
     * 视频观看数
     */
    @TableField(value = "video_view_count")
    private Long videoViewCount;

    /**
     * 帖子类型
     */
    private String typename;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;
}